#include "AlgebraicProduction.h"



QRgb AlgebraicProduction::doOperation (QRgb c1, QRgb c2)
{
	c1 = qRgba (qRed (c1) * qRed (c2) / 255,
			qGreen (c1) * qGreen (c2) / 255,
			qBlue (c1) * qBlue (c2) / 255, qAlpha (c1));
	return __super::__doOperation (c1, c2);
}

AlgebraicProduction::AlgebraicProduction () : AlgebraicOperation ("Production")
{

}
